from flask import request
from server.nurse import ratings_time_sum_server
from api import ratings_time_sum_api

@ratings_time_sum_api.route('/item_time', methods=['GET'])
def item_time():
    result = ratings_time_sum_server.item_time()
    return result

@ratings_time_sum_api.route('/item_time_month', methods=['GET'])
def item_time_month():
    result = ratings_time_sum_server.time_month_sum()
    print(result)
    return result